package org.jeecg.modules.drive.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.util.MultiValueMap;

/**
 * 接口驱动模型公共服务类
 */
public interface DriveCommonInterfaceService {

    /**
     * 接口-Get请求
     * @param url
     * @param headerMap
     * @param paramJsonObj
     * @return
     */
    JSONObject httpGet(String url, MultiValueMap<String, String> headerMap, JSONObject paramJsonObj);

    /**
     * 接口-Post请求
     * @param url
     * @param headerMap
     * @param paramJsonObj
     * @return
     */
    JSONObject httpPost(String url, MultiValueMap<String, String> headerMap, JSONObject paramJsonObj);
}
